<script>
export default {
  onLaunch: function() {
    console.log('App Launch');
  },
  onShow: function() {
    console.log('App Show');
  },
  onHide: function() {
    console.log('App Hide');
  },
};
</script>

<style>
/* 全局样式 */
page {
  background-color: #F8F8F8;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
    Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
    sans-serif;
}

.container {
  padding: 20px;
}

.btn {
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #007AFF;
  color: #FFFFFF;
  text-align: center;
}

.btn:active {
  opacity: 0.8;
}
</style> 